/*
 * @Description: 
 * @Author: yeeChen
 * @Date: 2022-12-20 16:59:03
 * @LastEditTime: 2022-12-20 17:00:27
 * @LastEditors: yeeChen
 */
const express = require('express')
const app = express()

// 挂载路由
app.get('/', (req, res) => {
    res.send('hello world')
})
app.post('/', (req, res) => {
    res.send('Post Request')
})
app.listen(80, function () {
    console.log('express running at http://127.0.0.1');
})